package com.content.service;

import java.util.List;

import com.content.pojo.Article;
import com.content.pojo.Comment;

public interface ArticleService {
	
	/*展示文章条目**/
 	List<Article> showArticle();
 	
	List<Article> getAllArticle();

	void createArticle(Article article);
	
	Article articleDetail(String articleId);

	/*按热度排序**/
 	List<Article> sortByHot();
 	
 	/*更新浏览数**/
 	void updateLookNum(Article article);
 	
 	/*按时间排序**/
 	List<Article> sortByTime();

}
